//
//  BMSinglePickerView.h
//  bigmama
//
//  Created by huyuchen on 2017/8/9.
//  Copyright © 2017年 盛成文化. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BMPickerViewConfig.h"
#import "BMPickerViewToolBar.h"

@interface BMSinglePickerView : UIView
@property (strong, nonatomic, readonly) BMPickerViewToolBar *toolBar;

- (instancetype)initWithToolBarText:(NSString *)toolBarText defaultIndex:(NSInteger)defaultIndex data:(NSArray<NSString *> *)data toolBarStyle:(BMPickerViewToolBarStyle)toolBarStyle valueDidChangedBlock:(SingleSelectedBlock)valueDidChangedBlock cancelBlock:(BtnClickBlock)cancelBlock doneBlock:(SingleClickBlock)doneBlock;
@end
